package org.qufenqi.api.service;

import org.qufenqi.api.common.CommonResponse;
import org.qufenqi.api.entity.Cart;
import org.qufenqi.api.entity.Order;

import java.util.List;

public interface CartService {

    //进入购物车
    CommonResponse<List<Order>> getCart(String userid);

    //查看订单
    CommonResponse<Order> getOrder(String orderid);

    //取消订单
    CommonResponse<String> cancelOrder(String orderid);
}
